﻿@{
    Layout = null;
    //房主
    var OwnerIDlist = ViewData["OwnerID"] as SelectList;
    //小区
    var LowPriceHouseBuildingID = ViewData["LowPriceHouseBuildingID"] as SelectList;
    //住宅类别
    var ResidenceTypelist = ViewData["ResidenceType"] as SelectList;
    //房屋类别
    var BuildingsTypelist = ViewData["BuildingsType"] as SelectList;
    //朝向
    var Orientationslist = ViewData["Orientations"] as SelectList;
    //建筑结构
    var BuildingClass = ViewData["BuildingClass"] as SelectList;
    //产权类型
    var PropertyType = ViewData["PropertyType"] as SelectList;
    //价格条件
    var PriceCondition = ViewData["PriceCondition"] as SelectList;
    //楼盘性质
    var Nature = ViewData["Nature"] as SelectList;
    //装修状况
    var DecorationCondition = ViewData["DecorationCondition"] as SelectList;
    //设施
    var Installation = ViewData["Installation"] as SelectList;
    //提供人员
    var channel = ViewData["channel"] as SelectList;
    //维护人员
    var inThefield = ViewData["inThefield"] as SelectList;   
}
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>H+ 后台主题UI框架 - 选项卡 &amp; 面板</title>

    <link rel="shortcut icon" href="favicon.ico">
    <link href="~/Content/Css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="~/Content/Css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="~/Content/Css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="~/Content/Css/animate.css" rel="stylesheet">
    <link href="~/Content/Css/plugins/chosen/chosen.css" rel="stylesheet">
    <link href="~/Content/Css/style.css?v=4.1.0" rel="stylesheet">
     
    <style>
        /*.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 ,
          .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12,
          .btn-group {
              border-style: solid;
              border-width: 1px;
              border-color: #000;
          }*/
        #BZdiv {
            padding-left: 0px;
        }

        .help-block {
            margin-top: 0px;
            margin-bottom: 0px;
        }

        label {
            width: 215px;
        }

        .i-checks {
            height: 455px;
        }

        .wrapper-content {
            padding-top: 0px;
            padding-bottom: 0px;
        }
    </style>

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeIn" id="MaxDiv">
        <div class="row">
            <div class="col-sm-12">
                <form class="form-horizontal m-t" id="mainForm">
                    <input id="GroupID" value="@ViewBag.GroupID" name="GroupID" hidden="hidden">
                    <div class="tabs-container">
                        <div class="tabs-left">
                            <ul class="nav nav-tabs">
                                <li class="active">
                                    <a data-toggle="tab" href="#tab-1">基础</a>
                                </li>
                                <li class="">
                                    <a data-toggle="tab" href="#tab-2">楼盘详情</a>
                                </li>
                                <li class="">
                                    <a data-toggle="tab" href="#tab-3">佣金</a>
                                </li>
                                <li class="">
                                    <a data-toggle="tab" href="#tab-4">户型</a>
                                </li>
                                <li class="">
                                    <a data-toggle="tab" href="#tab-5">设施</a>
                                </li>
                            </ul>
                            <div class="tab-content">
                                <div id="tab-1" class="tab-pane active">
                                    <div class="panel-body">
                                        <div class="col-sm-12">
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">小区：</label>
                                                        <div class="col-xs-8">
                                                            <select class="chosen-select" style="width:290px;" name="LowPriceHouseBuildingID" id="LowPriceHouseBuildingID"> 
                                                                @foreach (SelectListItem item in LowPriceHouseBuildingID.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择小区</span>
                                                            <span style="color:red" id="HouseBuildingSpanID"><i class="fa fa-times-circle"></i>请选择小区</span> 
                                                        </div>
                                                    </div>  
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">门牌号：</label>
                                                        <div class="col-xs-8">
                                                            <input id="HouseNumber" name="HouseNumber" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入门牌号</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">价格条件：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="PriceCondition" id="PriceCondition">
                                                                @foreach (SelectListItem item in PriceCondition.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择价格条件</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">原价：</label>
                                                        <div class="col-xs-8">
                                                            <input id="CostPrice" name="CostPrice" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入原价</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">抵账价：</label>
                                                        <div class="col-xs-8">
                                                            <input id="LowPrice" name="LowPrice" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入抵账价</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">协议价：</label>
                                                        <div class="col-xs-8">
                                                            <input id="NegotiatedPrice" name="NegotiatedPrice" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入协议价</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">首付比例：</label>
                                                        <div class="col-xs-8">
                                                            <input id="DownPaymentRate" name="DownPaymentRate" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入首付比例</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">手续费：</label>
                                                        <div class="col-xs-8">
                                                            <input id="Poundage" name="Poundage" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入手续费</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">能否贷款：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="IsLoan" id="IsLoan">
                                                                <option value=''>选择是否贷款</option>
                                                                <option value='1'>可以贷款</option>
                                                                <option value='2'>不能贷款</option>
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择能否贷款</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">贷款规则：</label>
                                                        <div class="col-xs-8">
                                                            <input id="LoanRules" name="LoanRules" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入贷款规则</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">规则：</label>
                                                        <div class="col-xs-8">
                                                            <input id="Rules" name="Rules" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入规则</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">类型：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="LowHouseType" id="LowHouseType">
                                                                <option value='0'>全部</option>
                                                                <option value='1'>住宅</option>
                                                                <option value='2'>旅游地产</option>
                                                                <option value='3'>门市</option>
                                                                <option value='4'>商铺</option>
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填写类型</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">提供人员：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="MediumOfCommunicationStaffID" id="MediumOfCommunicationStaffID">
                                                                @foreach (SelectListItem item in channel.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填写提供人员</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">维护人员：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="StationedStaffID" id="StationedStaffID">
                                                                @foreach (SelectListItem item in inThefield.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填写维护人员</span>
                                                        </div>
                                                    </div>
                                                </div>

                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">房主：</label>
                                                        <div class="col-xs-8">
                                                            <select class="chosen-select" style="width:290px;" name="OwnerID" id="OwnerID">
                                                                @foreach (SelectListItem item in OwnerIDlist.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择房主</span>
                                                            <span style="color:red" id="OwnerSpanID"><i class="fa fa-times-circle"></i>请选择房主</span>
                                                        </div>
                                                    </div> 
                                                </div>

                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">更名期限：</label>
                                                        <div class="col-xs-8">
                                                            <input id="ReNameDeadline" name="ReNameDeadline" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填选择更名期限</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6"> 
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">上线时间：</label>
                                                        <div class="col-xs-8">
                                                            <input id="UpTime" name="UpTime" class="form-control" placeholder="上线时间" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择上线时间</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">备注：</label>
                                                        <div class="col-xs-8">
                                                            <input id="Remark" name="Remark" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入备注</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                </div>
                                <div id="tab-2" class="tab-pane">
                                    <div class="panel-body" style="height:620px;">
                                        <div class="col-sm-12">
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">建造年代：</label>
                                                        <div class="col-xs-8">
                                                            <input id="CreateYear" name="CreateYear" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入建造年代</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">建筑结构：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="BuildingClass" id="BuildingClass">
                                                                @foreach (SelectListItem item in BuildingClass.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择建筑结构</span>
                                                        </div>
                                                    </div>
                                                </div>

                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">建筑面积：</label>
                                                        <div class="col-xs-8">
                                                            <input id="Area" name="Area" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入建筑面积</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">使用面积：</label>
                                                        <div class="col-xs-8">
                                                            <input id="UseArea" name="UseArea" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入使用面积</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">住宅类别：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="ResidenceType" id="ResidenceType">
                                                                @foreach (SelectListItem item in ResidenceTypelist.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择住宅类别</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">房屋类别：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="BuildingsType" id="BuildingsType">
                                                                @foreach (SelectListItem item in BuildingsTypelist.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择房屋类别</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">性质：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="Nature" id="Nature">
                                                                @foreach (SelectListItem item in Nature.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择性质</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">朝向：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="Orientations" id="Orientations">
                                                                @foreach (SelectListItem item in Orientationslist.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择朝向</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">产权年限：</label>
                                                        <div class="col-xs-8">
                                                            <input id="PropertyRight" name="PropertyRight" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入产权年限</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">产权类型：</label>
                                                        <div class="col-xs-8">
                                                            <select class="form-control" name="PropertyType" id="PropertyType">
                                                                @foreach (SelectListItem item in PropertyType.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择产权类型</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">楼层：</label>
                                                        <div class="col-xs-8">
                                                            <input id="Storey" name="Storey" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入楼层</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">总楼层：</label>
                                                        <div class="col-xs-8">
                                                            <input id="TotalStorey" name="TotalStorey" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入总楼层</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-12">
                                                    <div class="form-group">
                                                        <label class="col-xs-2 control-label">装修状况：</label>
                                                        <div class="col-xs-10">
                                                            <select class="form-control" name="DecorationCondition" id="DecorationCondition">
                                                                @foreach (SelectListItem item in DecorationCondition.Items)
                                                                {
                                                                    <option value='@item.Value'>@(item.Text)</option>
                                                                }
                                                            </select>
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请选择装修状况</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div id="tab-3" class="tab-pane">
                                    <div class="panel-body" style="height:620px;">
                                        <div class="col-sm-12">
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">佣金说明：</label>
                                                        <div class="col-xs-8">
                                                            <input id="Brokerage" name="Brokerage" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入佣金说明</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">佣金账期：</label>
                                                        <div class="col-xs-8">
                                                            <input id="CommissionAccount" name="CommissionAccount" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入佣金账期</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">带看佣金：</label>
                                                        <div class="col-xs-8">
                                                            <input id="BandSawBrokerage" name="BandSawBrokerage" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入带看佣金</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">佣金数额：</label>
                                                        <div class="col-xs-8">
                                                            <input id="BrokerageAmount" name="BrokerageAmount" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入佣金数额</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-12">
                                                    <div class="form-group">
                                                        <label class="col-xs-2 control-label">奖励说明：</label>
                                                        <div class="col-xs-10">
                                                            <input id="AwardDescription" name="AwardDescription" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入奖励说明</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div id="tab-4" class="tab-pane">
                                    <div class="panel-body" style="height:620px;">
                                        <div class="col-sm-12">
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">户型：</label>
                                                        <div class="col-xs-8">
                                                            <input id="HouseType" name="HouseType" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填写户型</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">室数：</label>
                                                        <div class="col-xs-8">
                                                            <input id="RoomNumber" name="RoomNumber" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入室数</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">厅数：</label>
                                                        <div class="col-xs-8">
                                                            <input id="HallNumber" name="HallNumber" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入厅数</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">卫生间数：</label>
                                                        <div class="col-xs-8">
                                                            <input id="ToiletNumber" name="ToiletNumber" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入卫生间数</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">厨房数：</label>
                                                        <div class="col-xs-8">
                                                            <input id="CookNumber" name="CookNumber" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入厨房数</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-sm-6">
                                                    <div class="form-group">
                                                        <label class="col-xs-4 control-label">阳台数：</label>
                                                        <div class="col-xs-8">
                                                            <input id="BalconyNumber" name="BalconyNumber" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填输入阳台数</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-12">
                                                    <div class="form-group">
                                                        <label class="col-xs-2 control-label">户型说明：</label>
                                                        <div class="col-xs-10">
                                                            <input id="HouseTypeRemark" name="HouseTypeRemark" type="text" class="form-control">
                                                            <span class="help-block m-b-none"><i class="fa fa-info-circle"></i>请填写户型说明</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div id="tab-5" class="tab-pane">
                                    <div class="panel-body" style="height:620px;">
                                        <div class="i-checks">
                                            @foreach (SelectListItem item in Installation.Items)
                                            {
                                                <label class="checkbox-inline">
                                                    <input type="checkbox" value="@item.Value" name="Installation">@item.Text
                                                </label>
                                            }
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group Submit" style="padding-right:15px;margin-top:15px;">
                                    <button id="submit" class="btn btn-primary pull-right" type="submit">
                                        <i class="fa fa-check"></i>&nbsp;提&nbsp;交
                                    </button>
                                </div>
                            </div>

                        </div>

                    </div>
                </form>
            </div>
        </div>

    </div>


    <!-- 全局js -->
    <script src="~/Scripts/jquery.min.js?v=2.1.4"></script>
    <script src="~/Scripts/bootstrap.min.js?v=3.3.6"></script>
    <!-- jQuery Validation plugin javascript-->
    <script type="text/javascript" src="~/Scripts/plugins/validate/jquery.validate.min.js"></script>
    <script type="text/javascript" src="~/Scripts/plugins/validate/messages_zh.min.js"></script>
    <script type="text/javascript" src="~/Scripts/Extensions/ExtValidator.js"></script>
    <!-- 自定义js -->
    <script src="~/Scripts/content.js?v=1.0.0"></script>
    <!-- layer javascript -->
    <script type="text/javascript" src="~/Scripts/plugins/layer/layer.min.js"></script>
    <!-- layerDate plugin javascript -->
    <script type="text/javascript" src="~/Scripts/plugins/layer/laydate/laydate.js"></script>
    <script src="~/Scripts/plugins/multiselect/bootstrap-multiselect.js"></script>

    <!-- iCheck -->
    <script src="~/Scripts/plugins/iCheck/icheck.min.js"></script>
    <!-- Chosen -->
    <script src="~/Scripts/plugins/chosen/chosen.jquery.js"></script>


    <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
    <!--统计代码，可删除-->
    <script type="text/javascript">
        //小区页面加载
        $("#HouseBuildingSpanID").hide();
        $("#LowPriceHouseBuildingID").change(function () {
            if ($("#LowPriceHouseBuildingID").val() == 0) {
                $("#HouseBuildingSpanID").show();
            } else {
                $("#HouseBuildingSpanID").hide();
            } 
        });
        //房主页面加载
        $("#OwnerSpanID").hide();
        $("#OwnerID").change(function () {
            if ($("#OwnerID").val() == 0) {
                $("#OwnerSpanID").show();
            } else {
                $("#OwnerSpanID").hide();
            }
        });



        $(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
            var icon = "<i class='fa fa-times-circle'></i> ";
            var validator = $("#mainForm").validate({
                rules: { 
                    LowPriceHouseBuildingID: { required: true, },
                    HouseNumber: { required: true, },
                    CostPrice: { required: true, number: true },
                    LowPrice: { required: true, number: true, },
                    NegotiatedPrice: { required: true, number: true, },
                    BrokerageAmount: { required: true, number: true, },
                    IsLoan: { required: true, },
                    DownPaymentRate: { required: true, number: true, },
                    Area: { required: true, number: true, },
                    UseArea: { required: true, number: true, },
                    RoomNumber: { required: true, number: true, },
                    HallNumber: { required: true, number: true, },
                    ToiletNumber: { required: true, number: true, },
                    CookNumber: { required: true, number: true, },
                    BalconyNumber: { required: true, number: true, },
                    Storey: { required: true, number: true, },
                    TotalStorey: { required: true, number: true, },
                    MediumOfCommunicationStaffID: { required: true, },
                    StationedStaffID: { required: true, },
                    OwnerID: { required: true, },
                    LowHouseType: { required: true, },
                    ResidenceType: { required: true, },
                    BuildingsType: { required: true, },
                    Orientations: { required: true, },
                },
                messages: {
                    LowPriceHouseBuildingID: { required: icon + "请选择小区", },
                    HouseNumber: { required: icon + "请输入门牌号", },
                    CostPrice: { required: icon + "请输入原价", number: icon + "请输入合法数字" },
                    LowPrice: { required: icon + "请输入底价", number: icon + "请输入合法数字", },
                    NegotiatedPrice: { required: icon + "请输入协议价", number: icon + "请输入合法数字", },
                    BrokerageAmount: { required: icon + "请输入佣金数额", number: icon + "请输入合法数字", },
                    IsLoan: { required: icon + "请输入选择能否贷款", },
                    DownPaymentRate: { required: icon + "请输入首付比例", number: icon + "请输入合法数字", },
                    Area: { required: icon + "请输入建筑面积", number: icon + "请输入合法数字", },
                    UseArea: { required: icon + "请输入使用面积", number: icon + "请输入合法数字", },
                    RoomNumber: { required: icon + "请输入室数", number: icon + "请输入合法数字", },
                    HallNumber: { required: icon + "请输入厅数", number: icon + "请输入合法数字", },
                    ToiletNumber: { required: icon + "请输入卫生间数", number: icon + "请输入合法数字", },
                    CookNumber: { required: icon + "请输入厨房数", number: icon + "请输入合法数字", },
                    BalconyNumber: { required: icon + "请输入阳台数", number: icon + "请输入合法数字", },
                    Storey: { required: icon + "请输入楼层", number: icon + "请输入合法数字", },
                    TotalStorey: { required: icon + "请输入总楼层", number: icon + "请输入合法数字", },
                    MediumOfCommunicationStaffID: { required: icon + "请选择提供人员", },
                    StationedStaffID: { required: icon + "请选择维护人员", },
                    OwnerID: { required: icon + "请选择房主", },
                    LowHouseType: { required: icon + "请选择类型", },
                    ResidenceType: { required: icon + "请选择住宅类别", },
                    BuildingsType: { required: icon + "请选择房屋类型", },
                    Orientations: { required: icon + "请选择朝向", },
                },
                submitHandler: function (form) {
                    if ($("#LowPriceHouseBuildingID").val() == 0) {
                        layer.msg('请选择小区!');
                        $("#LowPriceHouseBuildingID").focus();
                        $("#HouseBuildingSpanID").show();
                        return true;
                    }
                    if ($("#OwnerID").val() == 0) {
                        layer.msg('请选择房主!');
                        $("#OwnerID").focus();
                        $("#OwnerSpanID").show();
                        return true;
                    }

                    $.ajax({
                        url: "/LowPriceHouse/LowPriceHouse/LowPriceHouseListInsertAsync",
                        type: "post",
                        dataType: "json",
                        data: $('#mainForm').serialize(),
                        success: function (data) {
                            //Info,Success,Warning,Error
                            var type = data.type;
                            if (type == 1) {
                                layer.msg(data.content, { icon: 6, time: 2000 },
                                    function () {
                                        var index = parent.layer.getFrameIndex(window.name);
                                        parent.layer.close(index);
                                    });

                            } else {
                                layer.msg(data.content, { icon: 5, time: 2000 });
                            }
                        }
                    });
                }
            });
        });
        //日期范围限制
        var start = {
            elem: '#start',
            format: 'YYYY/MM/DD HH:mm:ss',
            min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end.min = datas; //开始日选好后，重置结束日的最小日期
                end.start = datas //将结束日的初始值设定为开始日
            }
        };
        var end = {
            elem: '#end',
            format: 'YYYY/MM/DD HH:mm:ss',
            min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
        laydate(start);
        laydate(end);
    </script>



    <script src="~/Scripts/demo/form-advanced-demo.js"></script>
</body>

</html>

